package com.asm.shiroweb.common.util;

import com.asm.shiroweb.common.bean.UserBean;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/*
模拟 数据库中数据
 */
public class TestData {

    public static List<UserBean> allUsers = new ArrayList<>();

    static{
        System.out.println("DB-------又从数据库中 拿数据了 ---------DB");
        allUsers.add(new UserBean("1001", "admin",  "18888888881", "b073e9301c412431159e7075340c4c66",     Arrays.asList("admin"),    Arrays.asList("mobile", "salary")));
        allUsers.add(new UserBean("1002", "manager","18888888882", "fa57f838dbd5c04470fea4d6b1ba6b12", Arrays.asList("manager"),  Arrays.asList("salary")));
        allUsers.add(new UserBean("1003", "worker", "18888888883", "1786fad239633582f1abcd7f874ab0bc",   Arrays.asList("worker"),   Arrays.asList("")));
    }


}
